
;use16
;output line , ax:str_addr cx:str_len dh:lines based 0
println:
	mov bp,ax
	mov ax,01301h
	mov bx,000ch
	mov dl,0 ;列 dh 是行
	int 10h
	ret


;bx: load addr of memory,al: number of sectors,cl: index of sectors based 1
read_sectors_0:
    ;mov bx, ENTRY_ADDRESS
    mov ah, 0x02 ; read sector function
    ;mov al, 15   ; read dh sectors
    mov ch, 0x00 ; read from cyl 0
    mov dh, 0x00 ; read from head 0
    ;mov cl, 0x03 ; start from sec 3
    mov dl,0x00  ;驱动器号 ;00H~7FH：软盘；80H~0FFH：硬盘
        ; since the bootloader is at sec 1
    int 0x13 ; drive interrupt

    ret